$(function(){
	//nav item
	$(".button").hover(function(){
		$(this).css("background-position", "0 100%");
	},
	function(){
		$(this).css("background-position", "0px 0px");
	});
	//bar item
	$(".step_on").hover(function(){
		$(this).css("background-position", "0px -120px");
	},
	function(){
		$(this).css("background-position", "0px -80px");
	});
	$(".step_off").hover(function(){
		$(this).css("background-position", "0px -40px");
	},
	function(){
		$(this).css("background-position", "0px 0px");
	});
	css_format();
});
function css_format(){
	//table css
	css_table();
}
//table css
function css_table(){
	$("table tr:nth-child(even)").css("background-color","#FFF");
	$("table tr:nth-child(odd)").css("background-color","#EEE");
	$("table thead tr").css("background-color","#ccf");
	$(".input_tr").css("background-color","#DEE");
	$(".frame tr").css("background-color","#FFF");
}
//big picture
function change_picture(image_name){
	$(".big_picture").css("background-image","url('images/image_"+image_name+".jpg')");
}